package com.hqyj.pojo;

import org.springframework.stereotype.Component;

/**
 * User: Administrator
 * Date: 2022/8/18
 * Time: 16:54
 */
@Component
public class Department {
    private int kid;
    private String kname;

    public Department() {
    }

    public Department(int kid, String kname) {
        this.kid = kid;
        this.kname = kname;
    }

    public int getKid() {
        return kid;
    }

    public void setKid(int kid) {
        this.kid = kid;
    }

    public String getKname() {
        return kname;
    }

    public void setKname(String kname) {
        this.kname = kname;
    }

    @Override
    public String toString() {
        return "Department{" +
                "kid=" + kid +
                ", kname='" + kname + '\'' +
                '}';
    }
}
